<?php get_header(); ?>

<div class="error-404">
    <div class="error-content">
        <div class="error-icon">
            <svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 24 24" fill="none" stroke="#ff6b6b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <circle cx="12" cy="12" r="10"></circle>
                <line x1="12" y1="8" x2="12" y2="12"></line>
                <line x1="12" y1="16" x2="12.01" y2="16"></line>
            </svg>
        </div>
        <h1 class="error-title">404</h1>
        <h2 class="error-subtitle"><?php _e('页面未找到', 'my-theme'); ?></h2>
        <p class="error-message">
            <?php _e('抱歉，您访问的页面不存在或已被移除。', 'my-theme'); ?>
        </p>
        <div class="error-actions">
            <a href="<?php echo esc_url(home_url('/')); ?>" class="button">
                <?php _e('返回首页', 'my-theme'); ?>
            </a>
            <a href="javascript:history.back()" class="button button-outline">
                <?php _e('返回上一页', 'my-theme'); ?>
            </a>
        </div>
        <div class="error-search">
            <?php get_search_form(); ?>
        </div>
    </div>
</div>

<?php get_footer(); ?>
